package com.macro.mall.dao.ums;


import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.ums.UmsResourceDO;
import com.macro.mall.model.ums.UmsResourceQuery;
import org.apache.ibatis.annotations.Param;

public interface UmsResourceMapper extends BaseMapper<UmsResourceDO> {
    long countByExample(UmsResourceQuery example);

    int deleteByExample(UmsResourceQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsResourceDO record);

    int insertSelective(UmsResourceDO record);

    List<UmsResourceDO> selectByExample(UmsResourceQuery example);

    UmsResourceDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsResourceDO record, @Param("example") UmsResourceQuery example);

    int updateByExample(@Param("record") UmsResourceDO record, @Param("example") UmsResourceQuery example);

    int updateByPrimaryKeySelective(UmsResourceDO record);

    int updateByPrimaryKey(UmsResourceDO record);
}
